﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AndreySmirnov.BLToolkitUtils.VSPackage.Model.ViewModel
{
	public class PromptConnInfoViewModel : ViewModelBase
	{
		private readonly BLTConnectionInfo m_connVM;

		public PromptConnInfoViewModel(BLTConnectionInfo connVM)
		{
			m_connVM = connVM;
		}

		public string UserName
		{
			get { return m_connVM.CredentialsData; }
			set
			{
				m_connVM.CredentialsData = value;
				NotifyPropertyChange("UserName");
			}
		}
	}
}
